/* ============================= */
/* CSS for control sap.m/Select  */
/* BlueCrystal theme             */
/* ============================= */

/* ------------------------------ */
/* field                          */
/* ------------------------------ */

/* hover and focus */

.sapMSltIconOnly.sapMSltHoverable:hover {
	background: contrast(@sapUiFieldHoverBackground, darken(@sapUiFieldHoverBackground, 6), lighten(@sapUiFieldHoverBackground, 6));
}

.sapMSltIconOnly.sapMSltHoverable:not(.sapMSltState):hover {
	border-color: @sapUiFieldHoverBorderColor;
}

html.sap-desktop .sapMSlt:not(.sapMSltDisabled):not(.sapMSltState):focus {
	border-color: @sapUiFieldFocusBorderColor;
}

.sapMSltHoverable:not(.sapMSltState):hover {
	border-color: @sapUiFieldHoverBorderColor;
}

/* pressed and hover */

.sapMSltIconOnly.sapMSltPressed.sapMSltHoverable:not(.sapMSltState):hover {
	background: @sapUiToggleButtonPressedHoverBackground;
	border-color: @sapUiFieldActiveBorderColor;
}

/* value state */

.sapMSltState {
	border-width: 2px;
}

/* disabled */

.sapMSltDisabled {
	opacity: 0.5;
}

/* ====================================================== */
/* Select inside a Bar: all contexts                      */
/* ====================================================== */

/* focus: in the footer all of the selects should get the outline */

html.sap-desktop .sapMHeader-CTX .sapMSltIconOnly:focus,
html.sap-desktop .sapMSubHeader-CTX .sapMSltIconOnly:focus,
html.sap-desktop .sapMFooter-CTX .sapMSlt:focus {
	outline: 1px dotted;
	outline-offset: -1px;
}

html.sap-desktop .sapMHeader-CTX .sapMSltPressed.sapMSltIconOnly:focus,
html.sap-desktop .sapMSubHeader-CTX .sapMSltPressed.sapMSltIconOnly:focus,
html.sap-desktop .sapMFooter-CTX .sapMSlt:focus {
	outline-color: @sapUiContentContrastFocusColor;
}

/* ====================================================== */
/* Select inside a Bar: footer context                    */
/* ====================================================== */

/* ------------------------------ */
/* label                          */
/* ------------------------------ */

.sapMFooter-CTX .sapMSltIcon {
	color: inherit;
}